//
//  QZHomeADCell.h
//  shortvideoplay
//
//  Created by adam on 2024/8/6.
//

#import <UIKit/UIKit.h>
#import <AVFoundation/AVFoundation.h>
#import "QZVideoModel.h"
#import "QzVideoPlayButtonView.h"
#import "YYLabel.h"
#import "HoverTextView.h"
#import "CircleTextView.h"
#import "FocusView.h"
#import "FavoriteView.h"
#import "MusicAlbumView.h"
NS_ASSUME_NONNULL_BEGIN
typedef void (^OnPlayerReady)(void);
@interface QZHomeADCell : UICollectionViewCell
@property (nonatomic, copy) void(^myPlayCommentBlock)(NSInteger index);
@property (nonatomic, strong) HoverTextView    *hoverTextView;

@property (nonatomic, strong) FocusView        *focus;
//@property (nonatomic, strong) MusicAlbumView   *musicAlum;

@property (nonatomic, strong) UIImageView      *share;
@property (nonatomic, strong) UIImageView      *hua;
@property (nonatomic, strong) UIImageView      *comment;

@property (nonatomic, strong) FavoriteView     *favorite;
@property (nonatomic, strong) UIImageView      *avatar;
@property (nonatomic, strong) UILabel          *shareNum;
@property (nonatomic, strong) UILabel          *huaNum;
@property (nonatomic, strong) UIImageView      *collection;
@property (nonatomic, strong) UILabel          *collectionNum;
@property (nonatomic, strong) UILabel          *commentNum;
@property (nonatomic, strong) UILabel          *favoriteNum;
@property (nonatomic, strong) OnPlayerReady    onPlayerReady;
@property (nonatomic, assign) BOOL             isPlayerReady;
@property (nonatomic, strong) QZVideoModel     *videoModel;
@property (strong, nonatomic)  UIView *ADPlayView;
@property (nonatomic, strong) NSString *urlString;



@property (strong, nonatomic)  UIView *hoem_recommend_playview;
@property (strong, nonatomic)  QzVideoPlayButtonView *hoem_recommend_playbutton;
@property (strong, nonatomic)  UIImageView *hoem_recommend_imageView;//播放之前图片

@property (assign, nonatomic) BOOL isPause;
@property (assign, nonatomic) BOOL isplay;
@property (assign, nonatomic) BOOL isOnePlayFinish;



@end

NS_ASSUME_NONNULL_END
